<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <title>后台查询系统</title>
    <meta name="keywords" content="Admin">
    <meta name="description" content="Admin">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Core CSS  -->
    <link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="__CSS__/glyphicons.min.css">

    <!-- Theme CSS -->
    <link rel="stylesheet" type="text/css" href="__CSS__/theme.css">
    <link rel="stylesheet" type="text/css" href="__CSS__/plugins.css">
    <link rel="stylesheet" type="text/css" href="__CSS__/responsive.css">

    <!-- Boxed-Layout CSS -->
    <link rel="stylesheet" type="text/css" href="__CSS__/boxed.css">

    <!-- Demonstration CSS -->
    <link rel="stylesheet" type="text/css" href="__CSS__/demo.css">

    <!-- Your Custom CSS -->
    <link rel="stylesheet" type="text/css" href="__CSS__/custom.css">

    <!-- Core Javascript - via CDN -->
    <script type="text/javascript" src="__JS__/jquery.min.js"></script>
    <script type="text/javascript" src="__JS__/jquery-ui.min.js"></script>
    <script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
    <script type="text/javascript" src="__JS__/uniform.min.js"></script>
    <script type="text/javascript" src="__JS__/main.js"></script>
    <script type="text/javascript" src="__JS__/custom.js"></script>
	<script type="text/javascript" src="__JS__/My97DatePicker/WdatePicker.js"></script>
<style type="text/css">
	.user_list .t{width:50%;}
	.page {
  width: 100%;
  padding: 30px 15px;
  background: #FFF;
  text-align: center;
  overflow: hidden;
}
.page .first,
.page .prev,
.page .current,
.page .num,
.page .current,
.page .next,
.page .end {
  padding: 8px 16px;
  margin: 0px 5px;
  display: inline-block;
  color: #008CBA;
  border: 1px solid #F2F2F2;
  border-radius: 5px;
}
.page .first:hover,
.page .prev:hover,
.page .current:hover,
.page .num:hover,
.page .current:hover,
.page .next:hover,
.page .end:hover {
  text-decoration: none;
  background: #F8F5F5;
}
.page .current {
  background-color: #008CBA;
  color: #FFF;
  border-radius: 5px;
  border: 1px solid #008CBA;
}
.page .current:hover {
  text-decoration: none;
  background: #008CBA;
}
.page .not-allowed {
  cursor: not-allowed;
}
</style>	
</head>

<body>
<!-- Start: Header -->
<header class="navbar navbar-fixed-top" style="background-image: none; background-color: rgb(240, 240, 240);">
    <div class="pull-left">
        <a class="navbar-brand" href="<?php echo '__ROOT__/index' ?>">
            <div class="navbar-logo">
                <img src="__IMG__/logo.png" alt="logo">
            </div>
        </a>
    </div>
    <div class="pull-right header-btns">
        <a class="user">
          <?php if($_SESSION!=""){
          echo "尊敬的"."<span style='font-size:20px;font-weight:800;'>".$_SESSION['nickname']."</span>欢迎您的登录！";
          }	?>
        </a>
		    <a href="<?php echo '__ROOT__/modipass'?>">修改密码</a>
        <a style="width:100px;height:28px;" onclick="if(!confirm('是否退出')){return false;}" style="color:red" 
        href="<?php  echo '__ROOT__/login' ?>" class="btn btn-default btn-gradient" type="button">退出</a>
    </div>
</header>
<!-- End: Header -->

<!-- Start: Main -->
<div id="main">
    <!-- Start: Sidebar -->
    <aside id="sidebar" class="affix">
        <div id="sidebar-search">
            <div class="sidebar-toggle"><span class="glyphicon glyphicon-resize-horizontal"></span></div>
        </div>
        <div id="sidebar-menu">
            <ul class="nav sidebar-nav">
                <li>
                    <a href="<?php echo '__ROOT__/index.html' ?>">
                    <span class="glyphicons glyphicon-home"></span>
                    <span  class="sidebar-title">系统菜单</span>
                    </a>
                </li>
				        <li>
                      <a href="#sideEight" class="accordion-toggle menuopen">
                          <span class="glyphicons glyphicon-list"></span>
                          <span class="sidebar-title">统计</span>
                          <span class="caret"></span>
                      </a>
                      <ul class="nav sub-nav" id="sideEight" style="">
              						<li><a style="font-weight:900;color:#000" href="<?php echo '__ROOT__/day_information.html'?>">
                          <span class="glyphicons glyphicon-record"></span>  当日的信息</a>
                          </li>
              						<li><a style="font-weight:900;color:#000" href="<?php echo '__ROOT__/active_agent.html' ?>">
                          <span class="glyphicons glyphicon-record"></span>代理信息情况</a>
                          </li>
              						<li><a style="font-weight:900;color:#000" href="<?php echo '__ROOT__/active_player.html' ?>">
                          <span class="glyphicons glyphicon-record"></span>活跃玩家情况</a>
                          </li>
                      </ul>
                </li>
                <li>
                      <a href="#sideEight" class="accordion-toggle menuopen">
                      <span class="glyphicons glyphicon-list">
                      </span><span class="sidebar-title">玩家信息查询</span>
                      <span class="caret"></span>
                      </a>
                      <ul class="nav sub-nav" id="sideEight" style="">
                        <li>
                            <a href="<?php echo '__ROOT__/grabble.html' ?>">
                            <span class="glyphicons glyphicon-record">
                            </span>玩家信息</a>
                        </li>
                        <li>
                            <a href="<?php echo '__ROOT__/sinfo.html' ?>">
                            <span class="glyphicons glyphicon-record">
                            </span>在线玩家</a>
                            </li>
						            <li>
                            <a href="<?php echo '__ROOT__/history.html'?>">
                            <span class="glyphicons glyphicon-record">
                            </span>游戏记录</a>
                        </li>
                        <?php if($_SESSION['paral4']==1){
                        echo '
            						     <li><a href="__ROOT__/playercharge.html">
                             <span class="glyphicons glyphicon-record"></span>玩家购钻</a>
                             </li>
                             <li><a href="__ROOT__/playerRecharge.html">
                             <span class="glyphicons glyphicon-record"></span>玩家充值记录</a>
                             </li>
                        ';}?>
                      </ul>
                </li>

<?php if($_SESSION['paral5']==1){
                echo '
                <li>
                      <a href="#sideEight" class="accordion-toggle menuopen">
                      <span class="glyphicons glyphicon-list"></span>
                      <span class="sidebar-title">代理商管理</span>
                      <span class="caret"></span>
                      </a>
                    <ul class="nav sub-nav" id="sideEight" style="">
                         <li>
                             <a href="__ROOT__/supervise.html">
                             <span class="glyphicons glyphicon-record"></span>代理商信息</a>
                         </li>
            						 <li>
                             <a href="__ROOT__/recharge.html">
                             <span class="glyphicons glyphicon-record"></span>  代理微信充值信息</a>
                         </li>
            						 <li>
                             <a href="__ROOT__/recordpay.html">
                             <span class="glyphicons glyphicon-record"></span>代理转账钻石记录</a>
                         </li>
                    </ul>
                </li>
                <li>
                    <a href="#sideEight" class="accordion-toggle menuopen">
                    <span class="glyphicons glyphicon-list"></span>
                    <span class="sidebar-title">活动专区</span>
                    <span class="caret"></span></a>
                    <ul class="nav sub-nav" id="sideEight" style="">
                        <li>
                            <a href="__ROOT__/activityOne.html">
                                <span class="glyphicons glyphicon-record"></span>  活动一
                            </a>
                        </li>
                        <li>
                            <a href="__ROOT__/activityTwo.html">
                                <span class="glyphicons glyphicon-record"></span>  活动二
                            </a>
                        </li>
                        <li>
                            <a href="__ROOT__/activityThree.html">
                                <span class="glyphicons glyphicon-record"></span>  活动三
                            </a>
                        </li>
                        <li>
                            <a href="__ROOT__/activityFour.html">
                                <span class="glyphicons glyphicon-record"></span>  活动四
                            </a>
                        </li>
                    </ul>
                </li>
				        <li>  
                      <a href="#sideEight" class="accordion-toggle menuopen">
                      <span class="glyphicons glyphicon-list"></span>
                      <span class="sidebar-title">其他</span>
                      <span class="caret"></span></a>
                      <ul class="nav sub-nav" id="sideEight" style="">
              						<li>
                              <a href="__ROOT__/deduct.html">
                              <span class="glyphicons glyphicon-record"></span>  代理返利管理</a>
                          </li>
                          <li>
                              <a href="__ROOT__/prompt.html">
                              <span class="glyphicons glyphicon-record"></span>  游戏提示管理</a>
                          </li>
                          <li>
                              <a href="__ROOT__/purview.html">
                              <span class="glyphicons glyphicon-record"></span>  权限分配</a>
                          </li>
              						<li>
                              <a href="__ROOT__/modipass.html">
                              <span class="glyphicons glyphicon-record"></span>  修改密码</a>
                          </li>
              						<li>
                              <a href="__ROOT__/journal.html">
                              <span class="glyphicons glyphicon-record"></span>操作日志</a>
                          </li>
                    </ul>
                </li>
  ';}?>
            </ul>
        </div>
    </aside>
    <!-- End: Sidebar -->
    <!-- Start: Content -->